package com.bdqn.web;


/**
 * @author ya
 */
public abstract class BaseAppController extends BaseController {

//    @Autowired
//    MemberService memberService;

    /**
     * 获取当前登录的用户
     *
     * @return
     */
//    public Member getMember() {
//        UserDetails user = (UserDetails) SecurityContextHolder.getContext().getAuthentication().getPrincipal();
//        return memberService.findByMobile(user.getUsername().replace(SecurityConstant.ACCOUNT_MEMBER_SPLIT, ""));
//    }

}
